import { createStore } from 'vuex';
import PlaySong from '@/store/modules/playSong.js';
import playTimeProgressBar from '@/store/modules/progressBar';
import floorBoxShow from '@/store/modules/floorBoxShow';
import SongVolume from '@/store/modules/SongVolume';
import SongList from '@/store/modules/SongList';
import SongLyric from '@/store/modules/SongLyric';
import login from "@/store/modules/login.js";



export default createStore({
    modules: {
        PlaySong: {
            namespaced: true,
            ...PlaySong
        },

        ProgressBar: {
            namespaced: true,
            ...playTimeProgressBar
        },

        floorBoxShow: {
            namespaced: true,
            ...floorBoxShow
        },
        SongVolume: {
            namespaced: true,
            ...SongVolume
        },
        SongList: {
            namespaced: true,
            ...SongList
        },
        SongLyric: {
            namespaced: true,
            ...SongLyric
        },
        Login: {
            namespaced: true,
            ...login
        }

    }
})

